package org.btik.light.server.platform.common.api.service;

import org.btik.light.server.platform.common.api.bean.dev.access.DevAccountDto;
import org.btik.light.server.platform.common.api.bean.dev.access.DevAccountVo;

import java.util.Collection;
import java.util.Map;

/**
 * @author lustre
 * @since 2023/6/3 15:38
 */
public interface DevAccountService {
    Collection<DevAccountVo> list();

    Map<String, String> getMdAlgorithms();

    boolean saveAccount(DevAccountDto devAccountDto);

    boolean delete(String username);

    DevAccountVo getUserByName(String username);

    boolean changeStatus(String username, Boolean status);
}
